
/*
 * @Description: 气象监测
 */
import request from '@/utils/request'
export default {
    /**
     * @description: 获取外部气象站数据
     * @return {Array}
     */
    getotherweatherdata() {
        return request.get(`v3/iot/dataCollectNew/queryWeatherData`)
    },
    /**
     * @description: 获取左侧气象数据详细内容
     * @return {Array}
     */
    getweatherdatalefttwo() {
        return request.get(`v3/iot/dataCollectNew/queryAtmosphereData`)
    },
    /**
     * @description: 获取左侧折线图数据
     * @return {Array}
     */
    getzhexiandataleft(params) {
        return request.post('v3/iot/dataItem/queryHistory', {
            ...params
        })
    },
    /**
     * @description: 获取表格列表 *代表必填
     * @param {String/Number} page *
     * @param {String/Number} size *
     */
    getlist(params) {
        return request.post("/v3/iot/cameraFacilityMapper/queryPageList", params);
    },
}
